gl: Check whether use_es is positive
authorEmmanuele Bassi <ebassi@gnome.org>
Sat, 22 Oct 2016 01:37:53 +0000 (02:37 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Sat, 22 Oct 2016 01:40:08 +0000 (02:40 +0100)
commit8e85f55240d4e3a2191c7945c7e76a6f20a4d32d
treee26b0c3447766eb2db99eaabb19c75924e792d7c
parent31c05771e957f2f54fb197a391b63e6ef3394a26
gl: Check whether use_es is positive

Now that the use_es field is an int with a possible negative value, we
cannot use it its truth value directly; we need to check if it's a
positive value, instead.
gdk/gdkglcontext.c